﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ControlUpdateSaleForMonthLy.ascx.cs" Inherits="UserControl_ControlUpdateSaleForMonthLy" %>
<%@ Import Namespace="webapp4U" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register assembly="DevExpress.Web.v9.2, Version=9.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxPopupControl" tagprefix="dxpc" %>



<script type="text/javascript">
    function pageLoad() {
        $("#<%= btSave.ClientID %>").click(function () {
            $.blockUI({ css: {
                border: 'none',
                padding: '15px',
                backgroundColor: '#000',
                '-webkit-border-radius': '10px',
                '-moz-border-radius': '10px',
                opacity: .5,
                color: '#fff'
            }
            });
        });
        
        Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler);
        function EndRequestHandler(sender, args) {
            $.unblockUI();
        }
    }

</script>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
        <div class="direct_container_right_titletop">
            Cập nhật sale cho TDV từng tháng
        </div>
        <hr />
        <!-- Button chuc nang-->
        <div class="direct_container_main">
            
            
        </div>
        <!-- End Button chuc nang-->
      
                    <!-- Content main-->
                    <div class="direct_container_main">
                        <div class="direct_container_form_right">
                            <table border="0" width="100%">
                            
                                
                                
                                <tr>
                                    <td width="12%" align="right">
                                        <p class="direct_label">
                                            Chọn tháng</p>
                                    </td>
                                    <td width="88%" align="left">
                                        <asp:DropDownList ID="DropMonthy" runat="server">
                                       </asp:DropDownList>
                                       <asp:Button ID="btSave" runat="server" CssClass="direct_bt_search" Text="Cập nhật" 
                                        onclick="btSave_Click" />
                                    </td>
                                </tr>
                              
                            </table>
                        </div>
                    </div>
                    <!-- EndContent main-->
               
        <dxpc:ASPxPopupControl ID="MessageBox" PopupHorizontalAlign="WindowCenter"  PopupVerticalAlign="WindowCenter" Font-Bold="true" HeaderText="DRM-S" runat="server" Height="91px" 
        Width="601px">
        <ContentCollection>
<dxpc:PopupControlContentControl ID="PopupControlContentControl1" runat="server" SupportsDisabledAttribute="True"></dxpc:PopupControlContentControl>
</ContentCollection>
    </dxpc:ASPxPopupControl>
    </ContentTemplate>
</asp:UpdatePanel>
